import {request} from '../utils/request.js'

export function getUserInfo() {
	return request({
		url: "/user",
		method: "POST",
	})
}

export function getUserTokenInfo(token) {
	return request({
		url: "/tokeninfo?token=" + token,
		method: "GET",
	})
}